package com.iotproject.forumservice.service;

import com.iotproject.commonutils.R;
import com.iotproject.forumservice.entity.ForumComment;
import com.iotproject.forumservice.entity.vo.ReplyInFirstLevelVo;
import com.iotproject.forumservice.entity.vo.SecondLevelCommentsVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 论坛评论回复 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-04-13
 */
public interface ForumCommentService extends IService<ForumComment> {

    public List<SecondLevelCommentsVo> getList(String questionId, String parentId, String userDesc);

    R replyOperatorInFirstLeve(ReplyInFirstLevelVo replyInFirstLevelVo);

    R likeOperator(String forumCommentId);

    R cancelLikeOperator(String forumCommentId);

}
